﻿using System;
using System . Collections . Generic;
using System . ComponentModel;
using System . Drawing;
using System . Data;
using System . Text;
using System . Windows . Forms;

namespace Yss . KFlow
{
    public partial class Flow_Canvases :UserControl  
    {
        public Flow_Canvases ( )
        {
            
            InitializeComponent ( );
            flow_Canvas1 . Location = new Point ( 0 , 0 );
            flow_Canvas1 . Size = this . Size;
        }
        public Model . Flow_ToolBox FTB
        {
            get
            {
                return flow_Canvas1 . Ftb;

            }
            set
            {
                flow_Canvas1 . Ftb = value;
            }
        }
        public Model . Flow_PropertyGrid FPG
        {
            get
            {
                return flow_Canvas1 . FPG;
            }
            set
            {
                flow_Canvas1 . FPG = value;
            }
        }
        protected override void OnSizeChanged ( EventArgs e )
        {
            base . OnSizeChanged ( e );
            flow_Canvas1 . Size = this . Size;
        }
    }
}
